I m rounding values using below code:
double _total =100.0056;its displaying as 100.0056 instead of 100.01 i m trying to round up for 2 decimal places but its not working.. same problem occurs when i use Datatype as Decimal.. how can i round up exactly.
thank you.
Manoj Bhatt
15-Jan-2016Output:
100.01
Similarily, for other datatype , you need to conversion in Round() function to passed as parameter.